package com.ruoyix.flowable.enums;

public enum TaskStatus {
    COMPLETED("已完成", "Completed"),
    ACTIVE("活动", "Active"),
    SUSPENDED("已挂起", "Suspended"),
    DELEGATED("已委派", "Delegated"),
    TRANSFER("已转办", "TransferTask"),
    APPROVED("已通过", "Approved"),
    RETURNED("已退回", "Returned"),
    REJECTED("已驳回", "Rejected"),
    TRANSFERRED("已转办", "Transferred"),
    TERMINATED("已终止", "Terminated"),
    WITHDRAWN("已撤回", "Withdrawn"),
    NOT_FOUND("未找到", "Not Found");

    private final String displayName;
    private final String taskStatus;

    TaskStatus(String displayNameCN, String displayNameEN) {
        this.displayName = displayNameCN;
        this.taskStatus = displayNameEN;
    }

    public String getDisplayName() {
        return displayName;
    }

    public String getTaskStatus() {
        return taskStatus;
    }
}
